#include "Solution.h"
#include <iostream>

using namespace std;

int main()
{
	int r = Solution().lengthOfLastWord("Hello world");
	cout<<r;
	cin.get();
}